Xbasic
NodeServices::NodeMemoryGetHeapSize Method
Syntax
N GetHeapSize()
Returns
- resultNumeric
Total heap size in bytes.
Description
Return the total memory used by the Node.js heap (in bytes).
Discussion
The NodeServices::NodeMemory GetHeapSize() method returns the current size of the Node.js heap.
' Get current Node.js heap size in bytes dim nm as NodeServices::NodeMemory ? nm.GetHeapSize() = 3997696